#ifndef		__CHAOSVECTOR2_HPP
#define		__CHAOSVECTOR2_HPP

#include "ChaosGlobalDefine.hpp"
//#include <math.h>


namespace Chaos
{
	class CHAOS_API ChsVector2
	{
	//--------------------------------------------------------------------------------------------------------------------------------
	public:
		float				m_fX;
		float				m_fY;

							ChsVector2();
							ChsVector2(const float *);
							ChsVector2(const ChsVector2 &);
							ChsVector2(const float &,const float &);
							~ChsVector2(){};

							// casting
//							operator float* ();
//							operator CONST float* () const;

		ChsVector2&			operator += (const ChsVector2 &);
		ChsVector2&			operator -= (const ChsVector2 &);
		ChsVector2&			operator *= (const float &);
		ChsVector2&			operator /= (const float &);

		ChsVector2			operator + (const ChsVector2 & )const;
		ChsVector2			operator - (const ChsVector2 & )const;
		ChsVector2			operator * (const float & )const;
		ChsVector2			operator / (const float & )const;

		ChsVector2&			operator = (const ChsVector2 &);


		bool				operator == ( const ChsVector2 & ) const;
		bool				operator != ( const ChsVector2 & ) const;



	};

	

}


#endif		//__CHAOSVECTOR2_HPP
